package com.lostreseditores.sabersai.model.control;

import java.util.List;

import com.lostreseditores.sabersai.model.Logro;
import com.lostreseditores.sabersai.model.dto.LogroDTO;


public interface ILogroLogic {
    public List<Logro> getLogro() throws Exception;

    public void saveLogro(String logrdescript, Integer logridn,
        String logrletrav, Long logrpuntajefinn, Long logrpuntajeinin,
        Integer respidn, Integer asigidn_Asignatura, Integer cursidn_Curso,
        Integer tipoexamidn_Tipoexamen) throws Exception;

    public void deleteLogro(Integer logridn) throws Exception;

    public void updateLogro(String logrdescript, Integer logridn,
        String logrletrav, Long logrpuntajefinn, Long logrpuntajeinin,
        Integer respidn, Integer asigidn_Asignatura, Integer cursidn_Curso,
        Integer tipoexamidn_Tipoexamen) throws Exception;

    public Logro getLogro(Integer logridn) throws Exception;

    public List<Logro> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Logro> findPageLogro(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberLogro() throws Exception;

    public List<LogroDTO> getDataLogro() throws Exception;
}
